package com.kx.smartdevice.service;

import com.github.pagehelper.PageInfo;
import com.kx.smartdevice.pojo.User;

public interface UserService {

    PageInfo<User> getAllUsersByPage(int pageNum,int pageSize,String username,int status);

    void addUser(User user);

    Long getUserIdByUserName(String username);

    int deleteUserByIds(String[] ids);

    int updateUser(User user);
}
